package com.xszx.serviceedu.service;

import com.xszx.serviceedu.entity.Video;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xszx.serviceedu.entity.form.VideoInfoForm;
import com.xszx.serviceedu.entity.vo.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author 白熊
 * @since 2024-07-17
 */
public interface VideoService extends IService<Video> {
    void saveVideoInfo(VideoInfoForm videoInfoForm);//节目录信息添加 传入前端获取的节目录详细信息
    void updateVideoInfoById(VideoInfoForm videoInfoForm);//因为是单独放一个表单的,所以说就重写下方法,其实也可以不用
    VideoInfoForm getVideoInfoFormById(String id);//修改需要用到回显
    boolean removeVideoById(String id);//节目录的删除
    Boolean removeByCourseId(String courseId);//通过课程id删除节目录
//    void removeByCourseId(List<String> courseId);
}
